<{if $newsadcodes.all}>
<{$newsadcodes.all}>
<{elseif $newsadcodes.index}>
<{$newsadcodes.index}>
<{/if}>
<br />
<{if $newsshowlogo}>
<div align="center"><{$newslogoimage}></div><br />
<{/if}>
<{if $newsshowsearch}>
<div align="center">
<form action="<{$xoops_url}>/search.php" method="get">
<input type="text" id="query" name="query" size="30" maxlength="255" value="" />
<select id="andor" name="andor" size="1">
<option value="AND" selected="selected"><{$lang_all}></option>
<option value="OR"><{$lang_any}></option>
<option value="exact"><{$lang_exact}></option>
</select>
<input type="hidden" name="mids[]" value="<{$module_id}>" />
<input type="hidden" id="action" name="action" value="results" />
<input type="submit" class="formButton" name="submit" id="submit" value="<{$lang_search}>" />
</form>
</div>
<{/if}>
<br />
<{if $catarray.toolbar}>
<div align="center"><{$catarray.toolbar}></div><br />
<{/if}>
<br />

<table cellspacing="0" width="100%">
  <tr>
    <td align="left">
<{if $newsshowfeed}>
<{if $topicmode}>
<a href="javascript:openWithSelfMain('<{$news_weburl}>/feedsubscription.php?feedtype=RSS&feedurl=<{"$news_weburl/rss.php?storytopic=$storytopicid"|escape:"url"}>','modulefeedsubscription',300,500);">
<img src="<{$news_imgurl}>/feed-icon.gif" alt="<{$lang_feedsubscript}>" title="<{$lang_feedsubscript_desc}>"  /></a>
<b><{$lang_topicfeed}></b>
<a href="<{$news_weburl}>/rss.php?storytopic=<{$storytopicid}>" target="_blank">
<img src="<{$news_imgurl}>/rss.png"  alt="<{$lang_rssfeed_topic}>" title="<{$lang_rssfeed_topic}>"  /></a>
<a href="<{$news_weburl}>/atom.php?storytopic=<{$storytopicid}>" target="_blank">
<img src="<{$news_imgurl}>/atom.png"  alt="<{$lang_atomfeed_topic}>" title="<{$lang_atomfeed_topic}>" /></a>
<a href="<{$news_weburl}>/pda.php?storytopic=<{$storytopicid}>" target="_blank">
<img src="<{$news_imgurl}>/pda.png"  alt="<{$lang_pdafeed_topic}>" title="<{$lang_pdafeed_topic}>" /></a>
<{else}>
<a href="javascript:openWithSelfMain('<{$news_weburl}>/feedsubscription.php?feedtype=RSS&feedurl=<{"$news_weburl/rss.php"|escape:"url"}>','modulefeedsubscription',300,500);">
<img src="<{$news_imgurl}>/feed-icon.gif" alt="<{$lang_feedsubscript}>" title="<{$lang_feedsubscript_desc}>"  /></a>
<b><{$lang_feed}></b>
<a href="<{$news_weburl}>/rss.php" target="_blank">
<img src="<{$news_imgurl}>/rss.png"  alt="<{$lang_rssfeed}>" title="<{$lang_rssfeed}>"  /></a>
<a href="<{$news_weburl}>/atom.php" target="_blank">
<img src="<{$news_imgurl}>/atom.png"  alt="<{$lang_atomfeed}>" title="<{$lang_atomfeed}>" /></a>
<a href="<{$news_weburl}>/pda.php" target="_blank">
<img src="<{$news_imgurl}>/pda.png"  alt="<{$lang_pdafeed}>" title="<{$lang_pdafeed}>" /></a>
<{/if}>  
<{/if}>
 </td>
   <td align="right">
<{if $newsshowthemechanger}>
	<form action="<{$xoops_requesturi}>" method="post">
	<b><{$lang_themechanger}></b><{$newsthemeoption}>
	</form>
<{/if}>  
  </td>
  </tr>
  </table>

<{if $displaynav == true}>
  <div style="text-align: center;">
    <form name="form1" action="index.php" method="get">
    <b><{$lang_topicnav}></b> <{$topic_select}> <select name="storynum"><{$storynum_options}></select> <input type="submit" value="<{$lang_go}>" /></form>
  </div>
<{/if}>
<div style="text-align: right;">
<a id="itemtop">
<a href="#itembottom"><img src="<{$news_imgurl}>/bottom.gif" alt="<{$lang_gotobottom}>" title="<{$lang_gotobottom}>" /></a>
</div>
<!-- start news item loop -->
<{section name=i loop=$stories}>
  <{include file="db:news_item.html" story=$stories[i]}>
  <br />
<{/section}>
<!-- end news item loop -->
<div style="text-align: right;">
<a id="itembottom">
<a href="#itemtop"><img src="<{$news_imgurl}>/top.gif" alt="<{$lang_gototop}>" title="<{$lang_gototop}>" /></a>
</div>
<div style="text-align: center; margin: 10px;"><{$pagenav}></div>
<{include file='db:system_notification_select.html'}>
